#include "Engine.h"

Engine::Engine(Application* a)
{
    app = a;
    shouldClose = false;
}

void Engine::onLaunch()
{
    shouldClose = false;
}

void Engine::onReload()
{
    onClose();
    onLaunch();
}

void Engine::close()
{
    shouldClose = true;
}

bool Engine::terminated()
{
    return shouldClose;
}

Engine::~Engine()
{
    //dtor
}
